{"ast":null,"code":"import _defineProperty from \"/Users/poppie/Desktop/development/messenger/app/frontend/node_modules/@babel/runtime/helpers/esm/defineProperty.js\";\nimport { Keyframes } from '@ant-design/cssinjs';\nimport { initMotion } from './motion';\nexport var fadeIn = new Keyframes('antFadeIn', {\n  '0%': {\n    opacity: 0\n  },\n  '100%': {\n    opacity: 1\n  }\n});\nexport var fadeOut = new Keyframes('antFadeOut', {\n  '0%': {\n    opacity: 1\n  },\n  '100%': {\n    opacity: 0\n  }\n});\nexport var initFadeMotion = function initFadeMotion(token) {\n  var _ref;\n  var sameLevel = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n  var antCls = token.antCls;\n  var motionCls = \"\".concat(antCls, \"-fade\");\n  var sameLevelPrefix = sameLevel ? '&' : '';\n  return [initMotion(motionCls, fadeIn, fadeOut, token.motionDurationMid, sameLevel), (_ref = {}, _defineProperty(_ref, \"\\n        \".concat(sameLevelPrefix).concat(motionCls, \"-enter,\\n        \").concat(sameLevelPrefix).concat(motionCls, \"-appear\\n      \"), {\n    opacity: 0,\n    animationTimingFunction: 'linear'\n  }), _defineProperty(_ref, \"\".concat(sameLevelPrefix).concat(motionCls, \"-leave\"), {\n    animationTimingFunction: 'linear'\n  }), _ref)];\n};","map":{"version":3,"names":["Keyframes","initMotion","fadeIn","opacity","fadeOut","initFadeMotion","token","sameLevel","arguments","length","undefined","antCls","motionCls","sameLevelPrefix","motionDurationMid","animationTimingFunction"],"sources":["/Users/poppie/Desktop/development/messenger/app/frontend/node_modules/antd/es/style/motion/fade.js"],"sourcesContent":["import { Keyframes } from '@ant-design/cssinjs';\nimport { initMotion } from './motion';\nexport const fadeIn = new Keyframes('antFadeIn', {\n  '0%': {\n    opacity: 0\n  },\n  '100%': {\n    opacity: 1\n  }\n});\nexport const fadeOut = new Keyframes('antFadeOut', {\n  '0%': {\n    opacity: 1\n  },\n  '100%': {\n    opacity: 0\n  }\n});\nexport const initFadeMotion = function (token) {\n  let sameLevel = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n  const {\n    antCls\n  } = token;\n  const motionCls = `${antCls}-fade`;\n  const sameLevelPrefix = sameLevel ? '&' : '';\n  return [initMotion(motionCls, fadeIn, fadeOut, token.motionDurationMid, sameLevel), {\n    [`\n        ${sameLevelPrefix}${motionCls}-enter,\n        ${sameLevelPrefix}${motionCls}-appear\n      `]: {\n      opacity: 0,\n      animationTimingFunction: 'linear'\n    },\n    [`${sameLevelPrefix}${motionCls}-leave`]: {\n      animationTimingFunction: 'linear'\n    }\n  }];\n};"],"mappings":";AAAA,SAASA,SAAS,QAAQ,qBAAqB;AAC/C,SAASC,UAAU,QAAQ,UAAU;AACrC,OAAO,IAAMC,MAAM,GAAG,IAAIF,SAAS,CAAC,WAAW,EAAE;EAC/C,IAAI,EAAE;IACJG,OAAO,EAAE;EACX,CAAC;EACD,MAAM,EAAE;IACNA,OAAO,EAAE;EACX;AACF,CAAC,CAAC;AACF,OAAO,IAAMC,OAAO,GAAG,IAAIJ,SAAS,CAAC,YAAY,EAAE;EACjD,IAAI,EAAE;IACJG,OAAO,EAAE;EACX,CAAC;EACD,MAAM,EAAE;IACNA,OAAO,EAAE;EACX;AACF,CAAC,CAAC;AACF,OAAO,IAAME,cAAc,GAAG,SAAjBA,cAAc,CAAaC,KAAK,EAAE;EAAA;EAC7C,IAAIC,SAAS,GAAGC,SAAS,CAACC,MAAM,GAAG,CAAC,IAAID,SAAS,CAAC,CAAC,CAAC,KAAKE,SAAS,GAAGF,SAAS,CAAC,CAAC,CAAC,GAAG,KAAK;EACzF,IACEG,MAAM,GACJL,KAAK,CADPK,MAAM;EAER,IAAMC,SAAS,aAAMD,MAAM,UAAO;EAClC,IAAME,eAAe,GAAGN,SAAS,GAAG,GAAG,GAAG,EAAE;EAC5C,OAAO,CAACN,UAAU,CAACW,SAAS,EAAEV,MAAM,EAAEE,OAAO,EAAEE,KAAK,CAACQ,iBAAiB,EAAEP,SAAS,CAAC,wDAE1EM,eAAe,SAAGD,SAAS,8BAC3BC,eAAe,SAAGD,SAAS,sBAC3B;IACJT,OAAO,EAAE,CAAC;IACVY,uBAAuB,EAAE;EAC3B,CAAC,mCACGF,eAAe,SAAGD,SAAS,aAAW;IACxCG,uBAAuB,EAAE;EAC3B,CAAC,SACD;AACJ,CAAC"},"metadata":{},"sourceType":"module"}